/* 
 * Copyright (C) 2012 UTSChedule
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package utsc.apps.utschedule.classes;

/**
 * This class holds the forecast result from the calculator feature. It stores
 * the name, current mark and the forecasted mark of a course or a term session.
 * 
 * @author
 * 
 */
public class ForecastResult {
	private String _name;
	private String _currentMark;
	private String _forecastedMark;

	public ForecastResult(String _name, String _currentMark,
			String _forecastedMark) {
		super();
		this._name = _name;
		this._currentMark = _currentMark;
		this._forecastedMark = _forecastedMark;
	}

	public String get_name() {
		return _name;
	}

	public void set_name(String _name) {
		this._name = _name;
	}

	public String get_currentMark() {
		return _currentMark;
	}

	public void set_currentMark(String _currentMark) {
		this._currentMark = _currentMark;
	}

	public String get_forecastedMark() {
		return _forecastedMark;
	}

	public void set_forecastedMark(String _forecastedMark) {
		this._forecastedMark = _forecastedMark;
	}
	
	@Override
	public String toString() {
		return _name;
	}

}
